<template>
	<view class="edit-box">
		<view class="search-box">
			<text class="label">设备名称</text>
			<input type="text" class="input" v-model="name" />
			<view class="icon">
				<image :src="$getImageSrc('clear.png')"></image>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				name:''
			};
		},
		onLoad(options) {
			this.name = options.name
		}
	}
</script>

<style lang="scss">
	.edit-box {
		height: 100vh;
		background-color: #f4f5f5;
		overflow: hidden;
	}
.search-box {
	margin-top: 20rpx;
	width: 100%;
	height: 72rpx;
	background: #FFFFFF;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 400;
	font-size: 28rpx;
	.label {
		
		color: #181D21;
		
	}
	.input {
		width: 314rpx;
		margin: 0 92rpx;
	}
	.icon {
		image {
			width: 64rpx;
			height: 64rpx;
		}
	}
}
</style>
